//
//  AppDelegate.m
//  CTWebViewDemo
//
//  Created by ST on 16/9/12.
//  Copyright © 2016年 CT. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    [self setupUI];
    
    return YES;
}

/**
 *  1.初始化界面
 */
- (void)setupUI
{
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    UINavigationController *navVC = [[UINavigationController alloc]initWithRootViewController:[[ViewController alloc]init]];
    
    self.window.rootViewController = navVC;
    [self.window makeKeyAndVisible];
}
@end
